package com.longcai.controller.property;


import com.longcai.bean.PageHelper;
import com.longcai.entity.property.ClyjUserPropertyRecord;
import com.longcai.page.table.PageTableResponse;
import com.longcai.service.property.ClyjUserPropertyRecordService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 用户资产收益记录表 前端控制器
 * </p>
 *
 * @author M
 * @since 2019-04-15
 */
@RestController
@RequestMapping("/clyjUserPropertyRecord")
public class ClyjUserPropertyRecordController {


    @Autowired
    private ClyjUserPropertyRecordService  clyjUserPropertyRecordService;

    /**
     * 获取资产记录列表
     *
     * @param clyjUserPropertyRecord
     * @param pageHelper
     * @return
     */
    @ApiOperation(value = "资产记录列表")
    @GetMapping(value = "/proList")
    public PageTableResponse proList(ClyjUserPropertyRecord clyjUserPropertyRecord, PageHelper pageHelper) {

        return this.clyjUserPropertyRecordService.proList(clyjUserPropertyRecord, pageHelper);
    }
}

